# vPresent is an immersive presentation creation and display application.
# Copyright (C) 2007 by Infiscape Corporation
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# -*- coding: utf-8 -*-

#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Dialog(object):
   def setupUi(self, Dialog):
      Dialog.setObjectName("Dialog")
      Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,481,297).size()).expandedTo(Dialog.minimumSizeHint()))

      self.vboxlayout = QtGui.QVBoxLayout(Dialog)
      self.vboxlayout.setMargin(9)
      self.vboxlayout.setSpacing(6)
      self.vboxlayout.setObjectName("vboxlayout")

      self.hboxlayout = QtGui.QHBoxLayout()
      self.hboxlayout.setMargin(0)
      self.hboxlayout.setSpacing(6)
      self.hboxlayout.setObjectName("hboxlayout")

      self.mInfiscapeIcon = QtGui.QLabel(Dialog)
      self.mInfiscapeIcon.setPixmap(QtGui.QPixmap(":/vpresent/gui/images/infiscape.png"))
      self.mInfiscapeIcon.setObjectName("mInfiscapeIcon")
      self.hboxlayout.addWidget(self.mInfiscapeIcon)

      self.mTitleLbl = QtGui.QLabel(Dialog)

      sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
      sizePolicy.setHorizontalStretch(0)
      sizePolicy.setVerticalStretch(0)
      sizePolicy.setHeightForWidth(self.mTitleLbl.sizePolicy().hasHeightForWidth())
      self.mTitleLbl.setSizePolicy(sizePolicy)

      font = QtGui.QFont()
      font.setPointSize(12)
      self.mTitleLbl.setFont(font)
      self.mTitleLbl.setAlignment(QtCore.Qt.AlignCenter)
      self.mTitleLbl.setObjectName("mTitleLbl")
      self.hboxlayout.addWidget(self.mTitleLbl)
      self.vboxlayout.addLayout(self.hboxlayout)

      self.label = QtGui.QLabel(Dialog)
      self.label.setTextFormat(QtCore.Qt.PlainText)
      self.label.setWordWrap(True)
      self.label.setObjectName("label")
      self.vboxlayout.addWidget(self.label)

      self.buttonBox = QtGui.QDialogButtonBox(Dialog)
      self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
      self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
      self.buttonBox.setObjectName("buttonBox")
      self.vboxlayout.addWidget(self.buttonBox)

      self.retranslateUi(Dialog)
      QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),Dialog.accept)
      QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),Dialog.reject)
      QtCore.QMetaObject.connectSlotsByName(Dialog)

   def retranslateUi(self, Dialog):
      Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
      self.mTitleLbl.setText(QtGui.QApplication.translate("Dialog", "About vPresent 1.0 by Infiscape", None, QtGui.QApplication.UnicodeUTF8))
      self.label.setText(QtGui.QApplication.translate("Dialog", "vPresent is a cluster-ready immersive presentation creation, editing, and display tool based on PyOpenSG and PyQt. The vPresent software is released under the terms of the GNU General Public License (http://www.gnu.org/copyleft/gpl.html).\n"
      "\n"
      "More information, including downloads, can be found at the vPresent website (https://realityforge.vrsource.org/trac/vpresent/).\n"
      "\n"
      "vPresent was developed by Infiscape Corporation (http://www.infiscape.com/) with the sponsorship of the Denver Museum of Nature & Science.", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   import sys
   app = QtGui.QApplication(sys.argv)
   Dialog = QtGui.QDialog()
   ui = Ui_Dialog()
   ui.setupUi(Dialog)
   Dialog.show()
   sys.exit(app.exec_())
